<?php
include_once ('../global.php');

class CApp_Index extends App_Page
{
	private $cid;
	private $attr;
	
	protected function getPara()
    {
        $this->cid = Tool_Input::clean('r', 'cid', 'int');
        $this->attr = Tool_Input::clean('r', 'attr', 'a');
    }

    protected function main()
    {
        $this->setTitle("Welcome!");
    }

    protected function outputBody()
    {
        $this->smarty->display("goods/list.html");
    }
}

$app = new CApp_Index("");
$app->run();
?>